<?php
require_once 'conexion/conexion.php';

class insertarex extends database 
{

public function insertarExplotacion($EXP){

$EXP = implode("|",$_POST["Exp"]);
 $sql = "INSERT INTO ma_af_explotierra (MA_V_TipoExplot)
 	 VALUES ('$EXP')";
     $conectarBD =$this->Conectar();
      mysqli_query($conectarBD,$sql) or die('no insertado'.mysqli_error($conectarBD));

      if($conectarBD){

header('location:MA_usoTierra.php');


}
}
      }
?>